package dfbz.com.model;

import dfbz.com.annotation.MyField;
import dfbz.com.annotation.Table;

import java.util.Date;

@Table("article")
public class Article {

    /**
     * id
     */
    private Integer id;

    /**
     * 文章标题
     */
    private String title;

    /**
     * 文章内容
     */
    private String content;

    /**
     * 浏览次数
     */
    @MyField("browse_count")
    private Integer browseCount;

    /**
     * 发布时间
     */
    @MyField("publish_date")
    private Date publishDate;

    /**
     * 发布人名称
     */
    @MyField("publish_username")
    private String publishUsername;

    /**
     * 发布人id
     */
    @MyField("user_id")
    private Integer userId;

}
